﻿using System;
using System.Collections.Generic;

namespace BenCaoXuan.Infrastructure.EFCore.MySql;

/// <summary>
/// 字典表
/// </summary>
public partial class SysDictionary
{
    /// <summary>
    /// 字典ID，主键
    /// </summary>
    public string DId { get; set; } = null!;

    /// <summary>
    /// 字典名称
    /// </summary>
    public string? DName { get; set; }

    /// <summary>
    /// 父字典ID，用于多级字典
    /// </summary>
    public string? DParentId { get; set; }

    /// <summary>
    /// 图标
    /// </summary>
    public string? DIcon { get; set; }

    /// <summary>
    /// 是否是类型 0-否 1-是
    /// </summary>
    public int? DIsType { get; set; }

    /// <summary>
    /// 状态：1-禁用，0-启用
    /// </summary>
    public int? DIsBan { get; set; }

    /// <summary>
    /// 排序序号
    /// </summary>
    public int? DSort { get; set; }

    /// <summary>
    /// 字典备注信息
    /// </summary>
    public string? DRemark { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? DCreateTime { get; set; }
}
